package com.huawang.mdesign.model.service.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class PackageInstanceDiffVo{

    private String instanceId;

    @Schema(title = "是否有子模型")
    private Boolean hasChild;

    @Schema(title = "修改状态 1无变化 2更改 4删除 8新增")
    private String changeState;

    @Schema(title = "接受拒绝状态 0无标记 1接受 2拒绝")
    private Integer acceptState;

    @Schema(title = "该元素是否有内部变更，true：是，false:否")
    private Boolean innerChange;

    @Schema(title = "该元素是否存在移动的情况，0:未移动，1：移出，2：移入")
    private Integer move;

    @Schema(title = "模型来自于哪个项目")
    private String mergeFrom;

    @Schema(title = "父节点模型id")
    private String ownerId;

    @Schema(title = "是否只读")
    private Boolean readOnly;

    @Schema(title = "子结构")
    private List<PackageInstanceDiffVo> child;

}
